package com.project.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.EmailBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IEmailMapper extends BaseMapper<EmailBean> {

    public void addReceivers(@Param("email") EmailBean email,
                             @Param("receiverIdArray") Integer[] receiverIdArray);


    public EmailBean fidById(Integer emailId);
}
